package com.easylinkin.linkappapi.blockqueue;

/**
 * @author xiaoyang
 * @version 1.0
 * @date 2023/08/14
 * @description 阻塞队列
 */
public interface BlockingQueue<T> {
  void add(T t);

  T take() throws InterruptedException;

  int size();
}
